Improve error for folks that keep specifying "usb:" for their serial gps just becuase...
authorrobertl <robertl>
Fri, 19 May 2006 15:21:20 +0000 (15:21 +0000)
committerrobertl <robertl>
Fri, 19 May 2006 15:21:20 +0000 (15:21 +0000)
jeeps/gpsusbwin.c

index 174e4ffdfbd619f9ac416c4fcb04752c4f2a238d..adb72bf43bb5cd5f120b442c299a1639a07cfe69 100644 (file)
@@ -227,7 +227,7 @@ gusb_init(const char *pname, gpsdevh **dh)
                                (GUID *) &GARMIN_GUID, 
                                req_unit_number, &devinterface)) {
                        GPS_Serial_Error("SetupDiEnumDeviceInterfaces");
-                       warning("Is the Garmin USB unit number %d powered up and connected?", un);
+                       warning("Is the Garmin USB unit number %d powered up and connected?\nIs it really a USB unit?  If it's serial, don't choose USB, choose serial.", un);
                        return 0;
                }
                /* We've matched.  Now start the specific unit. */